<template>
	<view class="classifyList">
		<view class="all" v-for="item in shuzi">
			<image src="../../static/index/asd.png" class="imgs"></image>
			<view class="text">
				<view class="top">
					×××
				</view>
				<view class="mid">
					<text class="left">极速退款</text> <text class="right">正品保障</text>
				</view>
				<view class="bottom">
					<view class="jiage">
						<text class="new">￥551</text> <text class="old">￥699</text>
					</view>
					<image src="../../static/tabbar/jia.png" class="img-jia"></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: ['shuzi'],
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
.classifyList {
	width: 540rpx;
	background-color: #FFFFFF;
	box-sizing: border-box;
	padding: 10rpx 30rpx;
	border-radius: 30rpx;
}
.all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 170rpx;
	border-bottom: 1px solid #cccccc;
	.imgs {
		width: 120rpx;
		height: 120rpx;
		border-radius: 20rpx;
	}
	.text {
		font-size: 14rpx;
		margin-left: 25rpx;
		width: 350rpx;
		height: 120rpx;
		// #ifdef H5
		display: grid;
		grid-template-rows: repeat(3, 30rpx);
		// #endif
		align-content: space-between;
		align-items: center;
		.top {
			padding: 0;
			display: flex;
			align-items: flex-start;
			height: 30rpx;
		}
		.mid {
			height: 30rpx;
			// #ifdef MP-WEIXIN
			transform: scale(0.7) translateX(-77rpx);
			margin-top: 12rpx;
			// #endif
			// #ifdef H5
			transform: scale(0.7) translateX(-70rpx);
			// #endif
			.left {
				padding: 5rpx 15rpx;
				border-radius: 7rpx;
				font-size: 25rpx;
				margin-right: 25rpx;
				color: skyblue;
				background-color: #eef5fd;
			}
			.right {
				padding: 5rpx 15rpx;
				border-radius: 7rpx;
				color: #f0d08e;
				font-size: 25rpx;
				background-color: #fdf6eb;
			}
		}
		.bottom{
			margin-top: -15rpx;
			background-color: #FFFFFF;
			height: 30rpx;
			display: flex;
			justify-content: space-between;
			.img-jia {
				width: 30rpx ;
				height: 30rpx ;
			}
			.jiage {
				.new {
					color: red;
					font-weight: 800;
					font-size: 27rpx;
				}
				.old {
					margin-left: 25rpx;
					text-decoration: line-through;
					font-size: 20rpx;
					color: #a3a3a3;
				}
			}
		}
	}
}

</style>
